/* 
 * File:   lbfgs.h
 * Author: boyan
 *
 * Created on April 25, 2008, 11:48 AM
 */

#ifndef _LBFGS_H
#define	_LBFGS_H

#include "glodef.h"

#ifdef	__cplusplus
extern "C" {
#endif
  
/* see detailed description in lbfgs.f */

void lbfgs_(
    int *N,
    int *M,
    double X[],
    double *F,
    double G[],
    int *DIAGCO,
    double DIAG[],
    int *IPRINT,
    double *EPS,
    double *XTOL,
    double W[],
    int *IFLAG
);


#ifdef	__cplusplus
}
#endif

#endif	/* _LBFGS_H */

